/** \file comm.h
 **
 ** multi-function Communication port operation file
 **
 ** History:
 **   - 2013-11-03  1.0  Mark  First Version
 *************************************************************************/

#ifndef __COMM_H__
#define __COMM_H__

/*****************************************************************************/
/* Include files                                                             */
/*****************************************************************************/
#include "mcu.h"
#include "base_types_l3.h"
//#include "includes.h"
/*****************************************************************************/
/* Global pre-processor symbols/macros ('#define')                           */
/*****************************************************************************/
#define 	COMM_BT		0
#define 	COMM_IF1	3
#define 	COMM_IF2	6
#define 	COMM_IF3	1
#define 	COMM_IF4	7
#define 	MFS1	3
#define 	MFS2	6
#define 	MFS3	1
#define 	MFS4	7

/*****************************************************************************/
/* Global type definitions ('typedef')                                       */
/*****************************************************************************/
typedef enum mfs_type_enum
{
	UART        = 		0,
	CSIO_MASTER = 		1,
	CSIO_SLAVE  =       2,
	I2C_MASTER	=		3,
	I2C_SLAVE   =		4
}mfs_type_t;


/*****************************************************************************/
/* Global variable declarations ('extern', definition in C source)           */
/*****************************************************************************/
extern mfs_type_t	mfsn_type[8];
/*****************************************************************************/
/* Global function prototypes ('extern', definition in C source)             */
/*****************************************************************************/


#endif /* __COMM_H__ */
